<!-- 预约列表 -->
<template>
    <div class="page-box h100 display-flex czbj">
      <p class="title-label mb10">
        预约列表
      </p>
      <!-- sonRouter="yybureauFormationBJ" 为跳转新的页面编辑 -->
      <dxtable
        :dataJson="dataJson"
        :portUrl="portUrl"
        :qx="qx"
        ref="databale"
      ></dxtable>
    </div>
  </template>
  <script lang="ts" setup>
  import dxtable from "../../components/util/dxtable.vue";
  import sort from "../../components/util/sort.vue";
  import { dxget, dxpost } from "../../util/index";
  import { NButton, NImage, NTag } from "naive-ui";
  import { h, ref, reactive, render } from 'vue';
  const databale = ref();
  const initeer = () => {
    databale.value.initDataExpose();
  };
  let dataJson = [
    {
      title: "id",
      key: "id",
      width: 100,
    },
    
    {
      title: "落地页名称",
      key: "hdname",
    },{
      title: "电话",
      key: "phone",
    },
    {
      title: "支付状态",
      render(row){
        return row.type==2?'已支付':'未支付'
      }
    },
    {
      title: "金额",
      key: "zhifuje",
    },
    {
      title: "openid",
      key: "openid",
    },

  
   
    {
      title: "下单时间",
      key: "addTime",
      width: 150,
    },
  ];
  
  const qx = {
    DeletePermissionID: "luodiyeindexdel", //删除
    EditPermissionIdentifier: "23456", // 编辑
    NewPermissionIdentifier: "luodiyeindexxz22", // 新建
    ViewPermissionID: "luodiyeindexck", // 查看
  };
  const portUrl = "luodiye/zhifuzt";
  

  

  </script>
  <style scoped></style>
  